﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Micro.Core.ServiceDiscovery;

namespace ServiceDiscovery.Test
{
    class Program
    {
        static void Main(string[] args)
        {
            IServiceDiscovery serviceDiscovery = new ConsulServiceDiscovery();
            var services = serviceDiscovery.GetService<ConsulServiceResult>("consul-test-api");
            Console.WriteLine(services);
            Console.ReadKey();
        }
    }
}
